import 'package:json_annotation/json_annotation.dart';

part 'goods.g.dart';

@JsonSerializable()
class goods{
  goods({this.goodsid,this.classificationid,this.username,this.description,this.img,this.goodsname,this.price,this.quality,this.updatetime,this.state});
  int goodsid;
  int classificationid;
  String username;
  String description;
  String img;
  String goodsname;
  int price;
  String quality;
  String updatetime;
  int state;
  factory goods.fromJson(Map<String, dynamic> json) => _$goodsFromJson(json);
  Map<String,dynamic> toJson() => _$goodsToJson(this);
}